<template>
	<view class="level">
		<view class="top">
			<view class="list flex-between">
				<view class="h3">等级</view>
				<view class="red">普通会员</view>
			</view>
			<view class="list flex-between">
				<view class="text">直推人数</view>
				<view class="h4">0</view>
			</view>
			<view class="list flex-between">
				<view class="text">团队人数</view>
				<view class="h4">0</view>
			</view>
			<view class="list flex-between">
				<view class="text">个人交易量</view>
				<view class="h4">0.0000</view>
			</view>
			<view class="list flex-between">
				<view class="text">直推交易量</view>
				<view class="h4">0.0000</view>
			</view>
			<view class="list flex-between">
				<view class="text">团队交易量</view>
				<view class="h4">0.0000</view>
			</view>
		</view>
		<view class="title flex-between">
			<view class="h4">申请等级</view>
			<text>交易额折合10.000USDT为1张</text>
		</view>
		<view class="bottom">
			<view class="list flex-between">
				<view class="left flex">
					<view class="h1">V1</view>
					<view class="p">10LK返佣/张</view>
				</view>
				<icon type="success" @click="radioIndex = 0" :color="radioIndex == 0 ? '#d4237a' : '#dddddd'" size="26"></icon>
			</view>
			<view class="list flex-between">
				<view class="left flex">
					<view class="h1">V2</view>
					<view class="p">10LK返佣/张</view>
				</view>
				<icon type="success" @click="radioIndex = 1" :color="radioIndex == 1 ? '#d4237a' : '#dddddd'" size="26"></icon>
			</view>
			<view class="list flex-between">
				<view class="left flex">
					<view class="h1">V3</view>
					<view class="p">10LK返佣/张</view>
				</view>
				<icon type="success" @click="radioIndex = 2" :color="radioIndex == 2 ? '#d4237a' : '#dddddd'" size="26"></icon>
			</view>

			<button class="flex-center" @click="apply">申请</button>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				radioIndex: 0
			};
		},
		methods:{
			apply(){
				uni.showToast({
					title:'申请等级'
				})
			}
		}
	}
</script>

<style lang="less">
	@color: #d4237a;

	.level {
		margin-top: 30rpx;

		.top {
			background: white;
			padding: 24rpx;

			.list {
				line-height: 2;

				.h3 {
					font-size: 36rpx;
				}

				.red {
					font-size: 36rpx;
					color: @color;
				}

				.text {
					font-size: 30rpx;
					color: #666
				}

				.h4 {
					font-size: 32rpx;
					font-weight: bold;
				}
			}
		}

		.title {
			line-height: 3;
			padding: 0 24rpx;

			.h4 {
				font-size: 32rpx;
				font-weight: bold;
			}

			text {
				font-size: 26rpx;
				color: #666;
			}
		}

		.bottom {
			background: white;
			padding: 24rpx;
			line-height: 2.5;

			.h1 {
				font-size: 60rpx;
				margin-right: 20rpx;
			}

			.p {
				font-size: 30rpx;
				color: #666;
			}

			button {
				background: @color;
				height: 70rpx;
				color: #fff;
				margin-top: 60rpx;
			}
		}
	}
</style>
